#!/bin/sh
SDK=/Developer/SDKs/MacOSX10.5.sdk
if [ $# -eq 1 ]
then
SDK=$1
fi
CFLAGS="-m64 -std=gnu99 -Wno-endif-labels -isysroot ${SDK} -mmacosx-version-min=10.5";export CFLAGS
rm -rf Users Developer System
h-to-ffi.sh /Users/millejoh/Applications/DreamingTree/chipmunk-physics-read-only/src/chipmunk.h
